package com.lagou.service.impl;

import com.lagou.dao.SectionDao;
import com.lagou.domain.Section;
import com.lagou.service.sectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class sectionServiceImpl implements sectionService {

    @Autowired
    private SectionDao sectionDao;

    public void saveSection(Section section) {

        sectionDao.saveSection (section);

        //int i = 1/0;
    }
}
